]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
endSessionDialog: Align some strings to the right in RTL
authorYosef Or Boczko <yoseforb@gmail.com>
Wed, 11 Dec 2013 20:42:01 +0000 (22:42 +0200)
committerYosef Or Boczko <yoseforb@gmail.com>
Wed, 11 Dec 2013 20:42:01 +0000 (22:42 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=712600

data/theme/gnome-shell.css
js/ui/endSessionDialog.js

index 91fca2d06ae12d13cce29a9f5bde5b7c28cac65e..1ba82500c7e949bfccaa61e798407ac08dadcdd2 100644 (file)
@@ -1944,6 +1944,7 @@ StScrollBar StButton#vhandle:active {
 
 .end-session-dialog-description:rtl {
     padding-right: 17px;
+    text-align: right;
 }
 
 .end-session-dialog-logout-icon {
@@ -1976,6 +1977,10 @@ StScrollBar StButton#vhandle:active {
     font-weight: bold;
 }
 
+.end-session-dialog-list-header:rtl {
+    text-align: right;
+}
+
 .end-session-dialog-app-list-item,
 .end-session-dialog-session-list-item {
     spacing: 1em;
index 60ca3f7c0f03a08c9d452716c968399e844fcd00..1d43d211f4f745f97431802e8f6c259a5798a6a5 100644 (file)
@@ -249,7 +249,9 @@ const EndSessionDialog = new Lang.Class({
         this._subjectLabel = new St.Label({ style_class: 'end-session-dialog-subject' });
 
         messageLayout.add(this._subjectLabel,
-                          { y_fill:  false,
+                          { x_fill: false,
+                            y_fill:  false,
+                            x_align: St.Align.START,
                             y_align: St.Align.START });
 
         this._descriptionLabel = new St.Label({ style_class: 'end-session-dialog-description' });